﻿using System.ComponentModel.DataAnnotations;

namespace Authority.PresentationModels.User
{
    /// <summary>
    /// 新增用户模型
    /// </summary>
    public class AddUserRequestModel
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [Required]
        public string? Name { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        [Required]
        public string? AccountNumber { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [Required]
        public string? Password { get; set; } = "123456";

        /// <summary>
        /// 微信用户ID
        /// </summary>
        public string? WeCathOpenID { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        public List<Guid> RoleIDs { get; set; } = new List<Guid>();
    }
}
